﻿<UserControl x:Class="AppCommerciaux.Views.ConsulterClientView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Height="545" Width="1010">
    <Grid x:Name="gridClient" HorizontalAlignment="Left" Background="AliceBlue" Height="545" Width="1010">
        <Label Content="Liste des clients" HorizontalAlignment="Left" Margin="17,18,0,0" VerticalAlignment="Top" FontSize="16"/>
        <TextBox x:Name="textBoxRaisonSociale" HorizontalAlignment="Left" Height="26" Margin="34,320,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="241" FontSize="16" IsEnabled="False"/>
        <TextBox x:Name="textBoxRue" HorizontalAlignment="Left" Height="26" Margin="34,386,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="241" FontSize="16" IsEnabled="False"/>
        <TextBox x:Name="textBoxCp" HorizontalAlignment="Left" Height="26" Margin="34,416,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="154" FontSize="16" Padding="1" IsEnabled="False"/>
        <TextBox x:Name="textBoxVille" HorizontalAlignment="Left" Height="26" Margin="34,446,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="241" FontSize="16" IsEnabled="False"/>
        <Button x:Name="buttonModification" Content="Modifier" HorizontalAlignment="Left" Height="29" Margin="630,491,0,0" VerticalAlignment="Top" Width="102" FontSize="16" Click="buttonModification_Click" RenderTransformOrigin="0.696,4.776" IsEnabled="False"/>
        
        <TextBox x:Name="textBoxSiret" HorizontalAlignment="Left" Height="26" Margin="339,444,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="192" FontSize="16" IsEnabled="False"/>
        <TextBox HorizontalAlignment="Left" Height="0" Margin="265,472,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="74"/>
        <Label Content="Raison sociale" HorizontalAlignment="Left" Height="26" Margin="34,288,0,0" VerticalAlignment="Top" Width="114" FontSize="16"/>
        <Label Content="Adresse" HorizontalAlignment="Left" Height="32" Margin="36,350,0,0" VerticalAlignment="Top" Width="152" FontSize="16"/>
        <Label x:Name="labelTel" Content="Téléphone" HorizontalAlignment="Left" Height="32" Margin="339,286,0,0" VerticalAlignment="Top" Width="192" FontSize="16"/>
        <Label Content="Fax" HorizontalAlignment="Left" Height="32" Margin="339,348,0,0" VerticalAlignment="Top" Width="192" FontSize="16"/>
        <Label Content="Siret" HorizontalAlignment="Left" Height="32" Margin="339,416,0,0" VerticalAlignment="Top" Width="192" FontSize="16"/>
        <Label Content="Remise" HorizontalAlignment="Left" Height="31" Margin="36,491,0,0" VerticalAlignment="Top" Width="102" FontSize="16"/>
        <Label x:Name="labelRemise" Content="0 %" HorizontalAlignment="Left" Height="31" Margin="339,491,0,0" VerticalAlignment="Top" Width="192" FontSize="16"/>
        <ListView x:Name="listViewClient" HorizontalAlignment="Left" Height="181" Margin="34,75,0,0" VerticalAlignment="Top" Width="422" SelectionChanged="listViewClient_SelectionChanged" RenderTransformOrigin="0.009,0.358" FontSize="16">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="200" DisplayMemberBinding="{Binding raisonSociale}">
                        <GridViewColumn.Header>
                            <GridViewColumnHeader Tag="raisonSociale" Click="listViewColumnHeader_Click">Raison sociale</GridViewColumnHeader>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn Width="200" DisplayMemberBinding="{Binding ville}">
                        <GridViewColumn.Header>
                            <GridViewColumnHeader Tag="ville" Click="listViewColumnHeader_Click">Ville</GridViewColumnHeader>
                        </GridViewColumn.Header>
                    </GridViewColumn>

                </GridView>
            </ListView.View>
        </ListView>
        <TextBox x:Name="textBoxTel" HorizontalAlignment="Left" Height="28" Margin="339,320,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="166" FontSize="16" IsEnabled="False"/>
        <TextBox x:Name="textBoxFax" HorizontalAlignment="Left" Height="28" Margin="339,384,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="166" FontSize="16" IsEnabled="False"/>

    </Grid>
</UserControl>
